﻿
camSchoolApp.controller("mainController", function ($http, $scope, $location, dataLayerService) {
    $scope.currentUser = dataLayerService.userViewModel;

    $scope.treeViewList = dataLayerService.treeViewModel;

    $scope.employeeList = dataLayerService.employeesViewModel;

    $scope.goToAddEmployeePage = function () {
        $location.path("/addEmployee");
    }
});
